/*
 * @Descripttion: 
 * @version: 
 * @Author: luhe
 * @Date: 2022-07-07 11:26:37
 * @LastEditors: luhe
 * @LastEditTime: 2022-07-07 11:57:11
 */
// 通用数据
const commonData = {
  state: {
    count: 100,
    num: 10
  },
  mutations: {
    // 传入 state
    increment (state) {
      state.count++
    },
    sum(state, sum) {
      state.count += sum
    }
  },
}
export default commonData